home *** CD-ROM | disk | FTP | other *** search
- class MovieClipHolder extends MovieClip
- {
- var mc;
- function MovieClipHolder(m, shiny, doNotAdd, lowQualGlow)
- {
- super();
- this.mc = m;
- if(_root.effects >= 2 && !doNotAdd)
- {
- this.mc.blendMode = "add";
- }
- if(_root.effects >= 0 && shiny != null)
- {
- var _loc4_ = this.mc.filters;
- _loc4_.push(new flash.filters.GlowFilter(shiny,100,15,15,1,!(lowQualGlow || _root.effects == 0) ? 2 : 1));
- this.mc.filters = _loc4_;
- }
- }
- function setMovie(m, shiny)
- {
- this.mc = m;
- if(_root.effects >= 2)
- {
- this.mc.blendMode = "add";
- }
- if(_root.effects >= 1)
- {
- if(shiny)
- {
- var _loc3_ = this.mc.filters;
- _loc3_.push(new flash.filters.GlowFilter(shiny,25,15,15,1.5,2));
- this.mc.filters = _loc3_;
- }
- }
- }
- function getMovie()
- {
- return this.mc;
- }
- }
-